package com.adtec.yxdemo.timedtask;

import com.adtec.yxdemo.datascraping.service.DataScrapingService;
import com.jfinal.aop.Inject;
import io.jboot.components.schedule.annotation.Cron;

@Cron("30/10 9-11 * * * ")
public class DataGetPayDetail implements Runnable{
    @Inject
    DataScrapingService dataScrapingService;
    @Override
    public void run() {
        dataScrapingService.getDetails();
    }
}
